home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 4 / Macwelt DVD 4.cdr / Entwickler / Mac-OS X / Pantomime / Source / atonum.c < prev    next >
MacBinary  |  2002-07-05  |  2.1 KB  |  [□□□□/□□□□]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
1% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Jul 5 08:31:12 2002, modified Fri Jul 5 08:31:12 2002, 1568 bytes "atonum.c" , at 0x6a0 286 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default
100% librempegprobeID NGC (Nintendo DSP Standard) (ngcdspstd) default (weak)


id metadata
keyvalue
macFileType[□□□□]
macFileCreator[□□□□]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 61 74 6f 6e 75 6d | 2e 63 00 00 00 00 00 00 |..atonum|.c......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 06 20 00 | 00 01 1e b9 4b 42 10 b9 |...... .|....KB..|
|00000060| 4b 42 10 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |KB......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 66 96 00 00 |........|....f...|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000d0| 0a 20 2a 20 20 54 68 65 | 20 45 6c 6d 20 4d 61 69 |. * The| Elm Mai|
|000000e0| 6c 20 53 79 73 74 65 6d | 20 20 2d 20 20 24 52 65 |l System| - $Re|
|000000f0| 76 69 73 69 6f 6e 3a 20 | 31 2e 32 20 24 20 20 20 |vision: |1.2 $ |
|00000100| 24 53 74 61 74 65 3a 20 | 45 78 70 20 24 0a 20 2a |$State: |Exp $. *|
|00000110| 0a 20 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. * | |
|00000120| 20 20 20 20 20 20 20 20 | 20 43 6f 70 79 72 69 67 | | Copyrig|
|00000130| 68 74 20 28 63 29 20 31 | 39 38 38 2d 31 39 39 35 |ht (c) 1|988-1995|
|00000140| 20 55 53 45 4e 45 54 20 | 43 6f 6d 6d 75 6e 69 74 | USENET |Communit|
|00000150| 79 20 54 72 75 73 74 0a | 20 2a 2a 2a 2a 2a 2a 2a |y Trust.| *******|
|00000160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001a0| 2a 2a 2a 2a 2a 2a 2a 2a | 0a 20 2a 20 42 75 67 20 |********|. * Bug |
|000001b0| 72 65 70 6f 72 74 73 2c | 20 70 61 74 63 68 65 73 |reports,| patches|
|000001c0| 2c 20 63 6f 6d 6d 65 6e | 74 73 2c 20 73 75 67 67 |, commen|ts, sugg|
|000001d0| 65 73 74 69 6f 6e 73 20 | 73 68 6f 75 6c 64 20 62 |estions |should b|
|000001e0| 65 20 73 65 6e 74 20 74 | 6f 3a 0a 20 2a 0a 20 2a |e sent t|o:. *. *|
|000001f0| 20 20 20 20 20 20 42 69 | 6c 6c 20 50 65 6d 62 65 | Bi|ll Pembe|
|00000200| 72 74 6f 6e 2c 20 45 6c | 6d 20 43 6f 6f 72 64 69 |rton, El|m Coordi|
|00000210| 6e 61 74 6f 72 0a 20 2a | 20 20 20 20 20 20 66 6c |nator. *| fl|
|00000220| 61 73 68 40 76 69 72 67 | 69 6e 69 61 2e 65 64 75 |ash@virg|inia.edu|
|00000230| 0a 20 2a 0a 20 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |. *. ***|********|
|00000240| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000250| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000260| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000270| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000280| 2a 2a 2a 2a 0a 20 2a 20 | 24 4c 6f 67 3a 20 61 74 |****. * |$Log: at|
|00000290| 6f 6e 75 6d 2e 63 2c 76 | 20 24 0a 20 2a 20 52 65 |onum.c,v| $. * Re|
|000002a0| 76 69 73 69 6f 6e 20 31 | 2e 32 20 20 32 30 30 32 |vision 1|.2 2002|
|000002b0| 2f 30 37 2f 30 35 20 31 | 34 3a 33 31 3a 31 32 20 |/07/05 1|4:31:12 |
|000002c0| 20 6c 75 64 6f 0a 20 2a | 20 73 65 65 20 63 68 61 | ludo. *| see cha|
|000002d0| 6e 67 65 6c 6f 67 0a 20 | 2a 0a 20 2a 20 52 65 76 |ngelog. |*. * Rev|
|000002e0| 69 73 69 6f 6e 20 31 2e | 31 2e 31 2e 31 20 20 32 |ision 1.|1.1.1 2|
|000002f0| 30 30 31 2f 31 31 2f 32 | 31 20 31 38 3a 32 35 3a |001/11/2|1 18:25:|
|00000300| 33 34 20 20 6c 75 64 6f | 0a 20 2a 20 49 6d 70 6f |34 ludo|. * Impo|
|00000310| 72 74 65 64 20 53 6f 75 | 72 63 65 73 0a 20 2a 0a |rted Sou|rces. *.|
|00000320| 20 2a 20 52 65 76 69 73 | 69 6f 6e 20 31 2e 32 20 | * Revis|ion 1.2 |
|00000330| 20 32 30 30 31 2f 31 31 | 2f 31 38 20 32 33 3a 31 | 2001/11|/18 23:1|
|00000340| 30 3a 32 35 20 20 6c 75 | 64 6f 0a 20 2a 20 53 65 |0:25 lu|do. * Se|
|00000350| 65 20 43 68 61 6e 67 65 | 4c 6f 67 0a 20 2a 0a 20 |e Change|Log. *. |
|00000360| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 31 2e 31 |* Revisi|on 1.1.1|
|00000370| 2e 31 20 20 32 30 30 31 | 2f 30 39 2f 32 38 20 31 |.1 2001|/09/28 1|
|00000380| 33 3a 30 36 3a 35 37 20 | 20 6c 75 64 6f 0a 20 2a |3:06:57 | ludo. *|
|00000390| 20 49 6d 70 6f 72 74 20 | 6f 66 20 73 6f 75 72 63 | Import |of sourc|
|000003a0| 65 73 0a 20 2a 0a 20 2a | 20 52 65 76 69 73 69 6f |es. *. *| Revisio|
|000003b0| 6e 20 31 2e 31 2e 31 2e | 31 20 20 32 30 30 31 2f |n 1.1.1.|1 2001/|
|000003c0| 30 37 2f 32 38 20 30 30 | 3a 30 36 3a 33 35 20 20 |07/28 00|:06:35 |
|000003d0| 6c 75 64 6f 76 69 63 0a | 20 2a 20 49 6d 70 6f 72 |ludovic.| * Impor|
|000003e0| 74 65 64 20 53 6f 75 72 | 63 65 73 0a 20 2a 0a 20 |ted Sour|ces. *. |
|000003f0| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 32 20 20 |* Revisi|on 1.2 |
|00000400| 31 39 39 35 2f 30 39 2f | 32 39 20 20 31 37 3a 34 |1995/09/|29 17:4|
|00000410| 31 3a 30 33 20 20 77 66 | 70 35 70 0a 20 2a 20 41 |1:03 wf|p5p. * A|
|00000420| 6c 70 68 61 20 38 20 28 | 43 68 69 70 27 73 20 62 |lpha 8 (|Chip's b|
|00000430| 69 67 20 63 68 61 6e 67 | 65 73 29 0a 20 2a 0a 20 |ig chang|es). *. |
|00000440| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 31 2e 31 |* Revisi|on 1.1.1|
|00000450| 2e 31 20 20 31 39 39 35 | 2f 30 34 2f 31 39 20 20 |.1 1995|/04/19 |
|00000460| 32 30 3a 33 38 3a 33 31 | 20 20 77 66 70 35 70 0a |20:38:31| wfp5p.|
|00000470| 20 2a 20 49 6e 69 74 69 | 61 6c 20 69 6d 70 6f 72 | * Initi|al impor|
|00000480| 74 20 6f 66 20 65 6c 6d | 20 32 2e 34 20 50 4c 30 |t of elm| 2.4 PL0|
|00000490| 20 61 73 20 62 61 73 65 | 20 66 6f 72 20 65 6c 6d | as base| for elm|
|000004a0| 20 32 2e 35 2e 0a 20 2a | 0a 20 2a 2a 2a 2a 2a 2a | 2.5.. *|. ******|
|000004b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000004c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000004d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000004e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000004f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2f 0a 0a 23 69 6e 63 6c |********|/..#incl|
|00000500| 75 64 65 20 3c 50 61 6e | 74 6f 6d 69 6d 65 2f 65 |ude <Pan|tomime/e|
|00000510| 6c 6d 5f 64 65 66 73 2e | 68 3e 0a 0a 2f 2a 0a 20 |lm_defs.|h>../*. |
|00000520| 2a 20 54 68 69 73 20 69 | 73 20 73 69 6d 69 6c 61 |* This i|s simila|
|00000530| 72 20 74 6f 20 61 74 6f | 69 28 29 2c 20 62 75 74 |r to ato|i(), but|
|00000540| 20 69 74 20 63 6f 6d 70 | 6c 61 69 6e 73 20 69 66 | it comp|lains if|
|00000550| 20 74 68 65 20 73 74 72 | 69 6e 67 0a 20 2a 20 63 | the str|ing. * c|
|00000560| 6f 6e 74 61 69 6e 73 20 | 61 6e 79 20 6e 6f 6e 2d |ontains |any non-|
|00000570| 6e 75 6d 65 72 69 63 20 | 63 68 61 72 61 63 74 65 |numeric |characte|
|00000580| 72 73 2e 20 20 52 65 74 | 75 72 6e 73 20 74 68 65 |rs. Ret|urns the|
|00000590| 20 6e 75 6d 65 72 69 63 | 0a 20 2a 20 76 61 6c 75 | numeric|. * valu|
|000005a0| 65 20 6f 6e 20 73 75 63 | 63 65 73 73 2c 20 2d 31 |e on suc|cess, -1|
|000005b0| 20 6f 6e 20 65 72 72 6f | 72 2e 0a 20 2a 2f 0a 69 | on erro|r.. */.i|
|000005c0| 6e 74 20 61 74 6f 6e 75 | 6d 28 73 74 72 29 0a 72 |nt atonu|m(str).r|
|000005d0| 65 67 69 73 74 65 72 20 | 63 6f 6e 73 74 20 63 68 |egister |const ch|
|000005e0| 61 72 20 2a 73 74 72 3b | 0a 7b 0a 20 20 20 20 72 |ar *str;|.{. r|
|000005f0| 65 67 69 73 74 65 72 20 | 69 6e 74 20 76 61 6c 75 |egister |int valu|
|00000600| 65 3b 0a 0a 20 20 20 20 | 69 66 20 28 2a 73 74 72 |e;.. |if (*str|
|00000610| 20 3d 3d 20 27 5c 30 27 | 29 0a 09 72 65 74 75 72 | == '\0'|)..retur|
|00000620| 6e 20 2d 31 3b 0a 20 20 | 20 20 76 61 6c 75 65 20 |n -1;. | value |
|00000630| 3d 20 30 3b 0a 20 20 20 | 20 77 68 69 6c 65 20 28 |= 0;. | while (|
|00000640| 69 73 64 69 67 69 74 28 | 2a 73 74 72 29 29 0a 09 |isdigit(|*str))..|
|00000650| 76 61 6c 75 65 20 3d 20 | 28 76 61 6c 75 65 2a 31 |value = |(value*1|
|00000660| 30 29 20 2b 20 28 2a 73 | 74 72 2b 2b 20 2d 20 27 |0) + (*s|tr++ - '|
|00000670| 30 27 29 3b 0a 20 20 20 | 20 72 65 74 75 72 6e 20 |0');. | return |
|00000680| 28 2a 73 74 72 20 3d 3d | 20 27 5c 30 27 20 3f 20 |(*str ==| '\0' ? |
|00000690| 76 61 6c 75 65 20 3a 20 | 2d 31 29 3b 0a 7d 0a 0a |value : |-1);.}..|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000710| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00000720| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00000730| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+